<?php

namespace app\admin\job;
use app\admin\model\OrderInModel;
use think\Queue;

class OrderDismiss
{
    public function fire($job,$data){
//        $order_id=json_decode($data)->order_id;
//        file_put_contents($order_id.'.json',$data);
        OrderInModel::editWithReturnWithoutDelete(json_decode($data,true));
        $job->delete();

    }
}
